<?php


namespace App\Traits\Model;


trait Log
{
    use DateTimeModel, OrderByIdDesc;
    /**
     * @return \Illuminate\Database\Eloquent\Relations\MorphTo
     * @author luffyzhao@vip.126.com
     */
    public function user(){
        return $this->morphTo('' , 'foreign', 'foreign_key');
    }
}
